<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>:first-child和:last-child选择器</title>
  <style type="text/css">
    p:first-child{
      font-size: 25px;
      color: pink;
      font-family: 宋体;
    }
    p:nth-child(2){
      color: blue;
    }
  </style>
</head>
<body>
<p>请问，这位美丽的女士！</p>
<p>能否抽空与我喝一杯？</p>
<p>原谅我的不适合的时间，</p>
<p>感谢您的卡布奇诺。</p>
</body>
</html>